package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 书法家职位对象 danmo_information_calligrapher_position
 * 
 * @author yangle
 * @date 2024-11-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class DanmoInformationCalligrapherPosition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 书法家职位记录的唯一标识符（主键）。 */
    private Long calligrapherPositionId;

    /** 关联到书法家表的外键。 */
    @Excel(name = "关联到书法家表的外键。")
    private Long informationId;

    /** 关联到职位表的外键 */
    @Excel(name = "关联到职位表的外键")
    private Long positionId;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("calligrapherPositionId", getCalligrapherPositionId())
            .append("informationId", getInformationId())
            .append("positionId", getPositionId())
            .toString();
    }
}
